package com.bbcare.followup.plat.store.ibatis;

import java.util.List;
import java.util.Map;

import com.bbcare.followup.plat.entity.PtUserextendInfo;

/**
 * @name: 患者扩展信息存储接口
 * @author: DemonLee
 * @createTime: 2017.5.7
 * @description: 患者扩展信息
 * @modify:
 * 
 */
public interface IPatientExtendDAO {
    /**
     * 添加患者扩展信息
     * 
     * @param PtUserextendInfo
     * @return
     */
    public void savePatientExtendInfo(PtUserextendInfo ptAc) throws Exception;

    /**
     * 批量添加患者扩展信息
     * 
     * @param PtUserextendInfo
     * @return
     */
    public void savePatientExtendBatch(List<PtUserextendInfo> ptAcList) throws Exception;

    /**
     * 查询患者扩展信息list
     * 
     * @param 
     * @return list
     */
    public List<PtUserextendInfo> selectPtExtendInfo(Map<String, Object> paramMap) throws Exception;
    
    /**
     * 更新用户扩展信息list
     * 
     * @param 
     * @return list
     */
    public int  modDataByUserId(List<PtUserextendInfo> ptAcList) throws Exception;
    
    /**
     * 更新用户扩展信息
     * 
     * @param 
     * @return int
     */
    public int  updateDataByUserId(PtUserextendInfo ptAcList) throws Exception;
    
    public List<PtUserextendInfo> selectPtExtendInfoOrder(Map<String, Object> paramMap) throws Exception;
    
}
